package com.hgd.security.evp.common.util;

import java.util.List;

/**
 * @author By 尚
 * @date 2019/3/17 2:21
 */
public class ListResult<T> {
    private long total;
    private List<T> rows;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public ListResult(long total,List<T> rows){
        this.total=total;
        this.rows=rows;
    }
}
